cordova.define("com.foreveross.chameleon.user.plugin.BDTTSPlugin", function(require, exports, module) {
   
	var exec = require("cordova/exec");
	var BDTTSoperation = {
		//获取文本并播放
		getTextToSynthesizer:function(succ,fail,textArray) {
			exec(succ,fail,"BDTTSPlugin","getTextToSynthesizer",[textArray]);
	    },
	    PlayVoice:function(succ,fail){
	    	exec(succ,fail,"BDTTSPlugin","PlayVoice",[]);
	    }
	};
   module.exports = BDTTSoperation;
});
